<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
<head>

<?php include_http_metas() ?>
<?php include_metas() ?>

<?php include_title() ?>

<link rel="shortcut icon" href="/favicon.ico" />

</head>
<body> 
  <div id="hd"><!-- header --> 
    <?php echo sfContext::getInstance()->getResponse()->getTitle(); ?>
  </div><!-- header -->
  
  <div id="doc2" class="yui-t5">
  
    
    <div id="bd"><!-- body -->
    
      <div id="yui-main">
        <div class="yui-b">
          
            <?php echo $sf_data->getRaw('sf_content') ?>
          
        </div>
      </div>
        
      <div class="yui-b">
        
          <ul><!-- navigation -->
            <li><?php echo link_to(__('Blog'), '@default?lang='.$sf_user->getLang().'&module=post'); ?></li>
            <li><?php echo link_to(__('Gallery'), '@default?lang='.$sf_user->getLang().'&module=image'); ?></li>
            <li><?php echo link_to(__('Contact'), '@default?lang='.$sf_user->getLang().'&module=page&handle=contact'); ?></li>
            <li><?php echo link_to(__('Weddings'), '@default?lang='.$sf_user->getLang().'&module=image&action=tag&tag=wedding', array('class' => 'on')); ?></li>
            <li><?php echo link_to(__('Weddings'), '@default?lang='.$sf_user->getLang().'&module=image&action=tag&tag=wedding'); ?></li>
            <li><?php echo link_to(__('Weddings'), '@default?lang='.$sf_user->getLang().'&module=image&action=tag&tag=wedding'); ?></li>
          </ul>
          <div>
            <?php include_component('tag', 'cloud', array('mode' => ($sf_request->getParameter('module') === 'image') ? 'image' : 'post')); ?>
          </div>
          
          <?php if ($sf_user->isAuthenticated() and $sf_user->hasCredential('admin')): ?>
            <?php include_partial('global/admin'); ?>
          <?php endif; ?>
          
      </div>
      
    </div><!-- body -->
    
  </div>
  
  <div id="ft"><!-- footer --> 
  <div class="yui-gd">
    <div class="yui-u first">
    
    </div>
    <div class="yui-u">
    &nbsp;
    </div>
  </div>
  </div><!-- footer -->  

</body>
</html>
